﻿using System.Collections.Generic;
using AgencyManagerSystem.DataFetcher;
using AgencyManagerSystem.Model;


namespace AgencyManagerSystem.DataUpdater
{
    public class CombinationUpdater : MainDetailUpdater<CombinationModel, ElementModel>
    {
        public CombinationUpdater(CombinationFetcher fetcher, ElementFetcher dFetcher, MainCombinationUpdater updater) : base(fetcher, dFetcher, updater) { }

        public class MainCombinationUpdater : BaseUpdater<CombinationModel>
        {
            internal MainCombinationUpdater() : base(new CombinationFetcher()) { }
        }
        public static MainCombinationUpdater GetMainUpdater()
        {
            return new MainCombinationUpdater();
        }
    }
}
